/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Universidad del Valle de Guatemala
 * Algoritmos y Estructura de Datos
 * Sergio Molina 10256
 * Hoja 9
 * 
*/

/**
 *
 * @author SERGIO MOLINA
 */
public class Vertex <E>{
    	private E value;
	private int edge;
	
	public Vertex (E value, int edge){
            this.value=value;
            this.edge=edge;
	}
	
	public E getValue(){
		return this.value;
	}
	
	public int getEdge(){
		return this.edge;
	}
	
	public void setValue(E value){
		this.value=value;
	}
	
	public void setEdge(int edge){
		this.edge=edge;
	}
}
